import { Base } from '../../../utils/base.js';
class Attestation extends Base {
  constructor() {
    super();
  }
  //获取分类
  getUserInfo(place, callback) {
    var param = {
        url: '/api/user/user/userInfo',
        type: "get",
        data: {},
        sCallback: function (data) {
          callback && callback(data);
        }
      };
      this.request(param);
  }

  //保存认证信息
  getPostInfo(place, callback) {
    var param = {
      url: '/api/user/user/postInfo',
      type: "post",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
};
export { Attestation };  